package com.qidian.mes.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author 小可怎么都睡不够
 * @Company 起点编程
 * @Description
 * @Time 2024/4/2 10:35
 */
public class DictItem {
    private Long dictItemId;
    private String dictItemTag;
    private Integer dictItemValue;
    private Integer dictItemStatus;
    private String dictItemNotes;
    private Integer dictItemOrder;
    private String dictType;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;
    // 这两个属性是瞬时状态的属性， 不需要持久化，只是用来查询
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTimeEnd;

    public Date getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(Date createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public Date getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(Date createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public Long getDictItemId() {
        return dictItemId;
    }

    public void setDictItemId(Long dictItemId) {
        this.dictItemId = dictItemId;
    }

    public String getDictItemTag() {
        return dictItemTag;
    }

    public void setDictItemTag(String dictItemTag) {
        this.dictItemTag = dictItemTag;
    }

    public Integer getDictItemValue() {
        return dictItemValue;
    }

    public void setDictItemValue(Integer dictItemValue) {
        this.dictItemValue = dictItemValue;
    }

    public Integer getDictItemStatus() {
        return dictItemStatus;
    }

    public void setDictItemStatus(Integer dictItemStatus) {
        this.dictItemStatus = dictItemStatus;
    }

    public String getDictItemNotes() {
        return dictItemNotes;
    }

    public void setDictItemNotes(String dictItemNotes) {
        this.dictItemNotes = dictItemNotes;
    }

    public Integer getDictItemOrder() {
        return dictItemOrder;
    }

    public void setDictItemOrder(Integer dictItemOrder) {
        this.dictItemOrder = dictItemOrder;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
